package com.ims.core.enums;

/**
 * 处理状态
 * 10    待审核
 * 20    待开票
 * 30    开票中
 * 40    已开票
 * 50    开票失败
 * 60    已撤回
 * @author IMS
 */
public enum ProcessStatus {
    PENDING_REVIEW("10", "待审核"),
    PENDING_INVOICING("20", "待开票"),
    INVOICING("30", "开票中"),
    INVOICED("40", "已开票"),
    INVOICING_FAILED("50", "开票失败"),
    WITHDRAWN("60", "已撤回");

    private final String code;
    private final String name;

    ProcessStatus(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
